export default {
  path: 'admin',
  component: resolve => require(['@/views/admin'], resolve),
  children: [
    {
      path: 'user',
      component: resolve => require(['@/views/admin/user'], resolve)
    },
    {
      path: 'role',
      component: resolve => require(['@/views/admin/role'], resolve)
    },
    {
      path: 'permission-classify',
      component: resolve => require(['@/views/admin/permission-classify'], resolve)
    },
    {
      path: 'permissions',
      component: resolve => require(['@/views/admin/permissions'], resolve)
    },
    {
      path: 'access-route',
      component: resolve => require(['@/views/admin/access-route'], resolve)
    }
  ]
};
